package com.stwyj.sbd;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@EnableRetry
@ServletComponentScan(basePackages = {"${app.base-package}.config"})
@EnableSwagger2Doc
public class SBDApplication {

    public static void main(String[] args) {
        SpringApplication.run(SBDApplication.class, args);
    }
}
